/* 
 * File:   JAdapter.h
 * Author: johnneyshi
 *
 * Created on 2013年3月4日, 上午9:43
 */

#ifndef JADAPTER_H
#define	JADAPTER_H
#include "JServerMaster.h"
#include "JBuffer.h"
#include "JBuffers.h"

/*
 * 连接master和worker之间
 */
class JAdapter {
public:
    JAdapter();
    void Start(AdapterThreadArg* pArg);
    virtual ~JAdapter();
private:
    JBuffers buffers;
    JBuffer* GetMsgFromClient();
};

#endif	/* JADAPTER_H */

